#include<stdio.h>
#include<fcntl.h>
#include<unistd.h>
#include"menu.h"
#include"list.h"
#include"file.h"

int main(int argc, char const *argv[])
{
	int ch, loop = 1;
	while(loop)
	{
		ch = menu();
		switch(ch)
		{
			case 0: loop = 0;
					shutdown();
					break;
			case 1:	list_menu();
					break;
			case 2: music_player();
					break;
		}
	}
	return 0;
}